package com.qfedu.pojo;

public class GoodsPojo {
    private String gid;
    private String gname;
    private String gimage;
    private float gprice=-1;
    private int gtype=-1;
    private String gdesc;
    private float gdiscount=-1;
    private int isdelete=-1;
    private int glabel=-1;
    private int gsex=-1;
    private int pageNum=1;
    private int pageSize=5;
    private int goodscount=1;
    private int startindex;
    private GoodsTypePojo goodsTypePojo;
    @Override
    public String toString() {
        return "GoodsPojo{" +
                "gid='" + gid + '\'' +
                ", ganme='" + gname + '\'' +
                ", gimage='" + gimage + '\'' +
                ", gprice=" + gprice +
                ", gtype=" + gtype +
                ", gdesc='" + gdesc + '\'' +
                ", gdiscount=" + gdiscount +
                ", isdelete=" + isdelete +
                ", glabel=" + glabel +
                ", gsex=" + gsex +
                '}';
    }

    public GoodsTypePojo getGoodsTypePojo() {
        return goodsTypePojo;
    }

    public void setGoodsTypePojo(GoodsTypePojo goodsTypePojo) {
        this.goodsTypePojo = goodsTypePojo;
    }

    public GoodsPojo() {
    }

    public GoodsPojo(String gid, String gname, String gimage, float gprice, int gtype, String gdesc, float gdiscount, int isdelete, int glabel, int gsex) {
        this.gid = gid;
        this.gname = gname;
        this.gimage = gimage;
        this.gprice = gprice;
        this.gtype = gtype;
        this.gdesc = gdesc;
        this.gdiscount = gdiscount;
        this.isdelete = isdelete;
        this.glabel = glabel;
        this.gsex = gsex;
    }

    public int getStartindex() {
        return startindex;
    }

    public void setStartindex(int startindex) {
        this.startindex = startindex;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getGoodscount() {
        return goodscount;
    }

    public void setGoodscount(int goodscount) {
        this.goodscount = goodscount;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getGanme() {
        return gname;
    }

    public void setGanme(String gname) {
        this.gname = gname;
    }

    public String getGimage() {
        return gimage;
    }

    public void setGimage(String gimage) {
        this.gimage = gimage;
    }

    public float getGprice() {
        return gprice;
    }

    public void setGprice(float gprice) {
        this.gprice = gprice;
    }

    public int getGtype() {
        return gtype;
    }

    public void setGtype(int gtype) {
        this.gtype = gtype;
    }

    public String getGdesc() {
        return gdesc;
    }

    public void setGdesc(String gdesc) {
        this.gdesc = gdesc;
    }

    public float getGdiscount() {
        return gdiscount;
    }

    public void setGdiscount(float gdiscount) {
        this.gdiscount = gdiscount;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public int getGlabel() {
        return glabel;
    }

    public void setGlabel(int glabel) {
        this.glabel = glabel;
    }

    public int getGsex() {
        return gsex;
    }

    public void setGsex(int gsex) {
        this.gsex = gsex;
    }
}
